package net.noday.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/message.htm")
public class MessageController {

	@RequestMapping(method=RequestMethod.GET)
	public ModelAndView show(@RequestParam("message")String message) {
		return new ModelAndView("message", "message", message);
	}
}
